package com.supcon.exchangedata.pojo.entity.mysql.operation.hj;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.Objects;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: yangbin
 * @Date: 2022/04/20/8:58
 * @Description:
 */
@Entity
@Data
@Table(name = "gas_daily_opertion_info", schema = "hzcjtz_gas_coll", catalog = "")
public class GasDailyOpertionInfo {
    @Basic
    @Column(name = "Biz_time")
    private Timestamp bizTime;
    @Basic
    @Column(name = "op")
    private String op;
    @Basic
    @Column(name = "tong_time")
    private Timestamp tongTime;
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "tongID")
    private long tongId;
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "data_time")
    private LocalDateTime dataTime;
    @Basic
    @Column(name = "gas_supply_amount")
    private BigDecimal gasSupplyAmount;
    @Basic
    @Column(name = "gas_liquid_amount")
    private BigDecimal gasLiquidAmount;
    @Basic
    @Column(name = "gas_pipe_amount")
    private BigDecimal gasPipeAmount;
}
